﻿using NUnit.Framework;

namespace IAD13.fromTDDtoBDD.TDD
{
    [TestFixture]
    public class CurrencyTests
    {
        private ICurrency sut;

        [SetUp]
        public void SetUp()
        {
            sut = new Currency("EUR");
        }

        [Test]
        public void GetValue()
        {
            Assert.AreEqual("EUR",sut.Value);
        }

        [Test]
        public void IsEqual()
        {
            Assert.AreEqual(new Currency("EUR"), sut);
        }

        [Test]
        public void IsNotEqual()
        {
            Assert.AreNotEqual(new Currency("USD"), sut);
        }
    }
}